-- ------------------ -- iTunes -> sipbmp3 -- ------------------ -- Changelog: -- -- 10 Oct 2009 -> pquimby created initial version -- --For installation instructions see the INSTALL file in the snippets/sipbmp3-iTunes folder -- Usage: -- This script will get the volume of sipbmp3 and put it on your iTunes volume scaled to the max value of 31 (which is the max volume for sipbmp3 at the time this script was written). tell application "iTunes" set currentVolume to (do shell script "/usr/local/bin/remctl zsr volume get") set currentVolume to currentVolume / 31 * 100 set the sound volume to currentVolume end tell